package com.utbm.lo54.entity;



public class Client {
	
	private Long id;
	private String firstName;
	private String lastName;
	private String address;
	private String phone;
	private String email;
	private Long sessionId;
	
	public Client() {}

	public Client( String fn, String ln, String mel, String addr, String tel) {
		firstName=fn;
		lastName=ln;
		address=addr;
		phone=tel;
		email=mel;
	}
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getFirstName() {
		return firstName;
	}
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	public String getLastName() {
		return lastName;
	}
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String eMail) {
		this.email = eMail;
	}

	
	public String toString() {
		return "User [id=" + id + ", firstName=" + firstName + ", lastName="
				+ lastName + ", address=" + address + ", phone=" + phone
				+ ", eMail=" + email + "]";
	}

	public Long getSessionId() {
		return sessionId;
	}

	public void setSessionId(Long sessionId) {
		this.sessionId = sessionId;
	}

}
